package com.example.boardroom.demo;

import android.os.SystemClock;

import java.text.SimpleDateFormat;
import java.util.Date;

public class CommUtils {
    public static String getSystemStartupTime() {
        long time = System.currentTimeMillis() - SystemClock.elapsedRealtime();
        SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        Date d1 = new Date(time);
        return format.format(d1);
    }
}
